package cn.com.xiaoshoujia.activities.mapper;

import cn.com.xiaoshoujia.activities.entity.Activity;
import cn.com.xiaoshoujia.activities.vo.ActivityWxVO;
import cn.com.xiaoshoujia.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

public interface ActivityMapper extends BaseMapper {
    int updateStatus(Activity activity);

    int delete(Activity activity);

    Object findCSmsMsg(Long id);

    List listTeamByXcode(String xcode);

    String findJobNameById(Long id);

    Object findActivityById(Serializable id);

    ActivityWxVO findWxDetailById(Long id);

    Activity findWxStatusById(Long id);

    ActivityWxVO findActivityStatus(Long id);

    Object findOperaionJson(@Param("id") Long id, @Param("headId") Long headId);

    Object findWxActivitiesById(Long id);

    Object findActivityMsg(Long id);
}
